package com.miyu.test.java.redis;

import redis.clients.jedis.Jedis;

public class Redis {
    public static void main(String[] args) {
        //1创建Jedis对象
        Jedis jedis = new Jedis("106.13.229.210",6379,10000);
        String ping = jedis.ping();
        System.out.println("连接成功");

    }
}
